package com.eduagent.xwqeduagent.model.dto; // Or your preferred package for DTOs

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import jakarta.validation.constraints.NotBlank; // Optional: for validation
import jakarta.validation.constraints.Min;    // Optional: for validation
import java.util.List;
import org.springframework.web.multipart.MultipartFile;

/**
 * 生成习题的请求参数
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuizGenerationRequest {

    /**
     * 教学内容（可选，与文件二选一）
     */
    private String teachingContent;
    
    /**
     * 上传的教学内容文件
     */
    private MultipartFile contentFile;

    /**
     * 题目数量（至少1个）
     */
    @Min(value = 1, message = "Number of questions must be at least 1.")
    private Integer numQuestions; // Optional, can be null

    /**
     * 期望的题目类型列表
     */
    private List<String> desiredQuestionTypes; // Optional, can be null or empty
}